<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/style.css}">
</head>
<body>
<div class="box">
    <div class="sign-box">
        <form action="/sign" method="post">
            <div class="sign-title">注册</div>
            <div class="chart">
                <span>用户名：</span>
                <input type="text" name="username1" placeholder="请输入用户名"></br>
                <span>密码：</span>
                <input type="password" name="password1" placeholder="请输入密码"></br>
                <span>确认密码：</span>
                <input type="password" name="password2" placeholder="请再次输入密码"></br>
                <button><a th:href="@{/login}" class="sign-btn">登录</a></button>
                <button type="submit">提交</button>
                <span th:text="${error}" class="error"></span>
            </div>
        </form>
    </div>
</div>

</body>
</html>